package dao;

import java.util.List;

import domain.User;

public interface UserDao {
	public boolean saveUser(User user);
	public boolean updateUser(User user);
	public boolean deleteUser(User user);
	public  void deleteById(int id);
	public User findUserById(int id);
	public User findUserByName(String name);
	public User findUserByUsernameAndPassword(String username,String password);
	public List findAllUserByPage(int pageNo,int pageSize);
	public long findCount();
}
